﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zoo
{
    public class ZooLand
    {
        private String title;
        private String location;
        private int square;
        private int income;

        public String Title()
        {
            get
            {
                return this.title;
            }
            set
            {
                this.title = value;
            }
        }

        public String Location()
        {
            get
            {
                return this.location;
            }
            set
            {
                this.location = value;
            }
        }

        public int Square()
        {
            get
            {
                return this.square;
            }
            set
            {
                this.square = value;
            }
        }

        public int Income()
        {
            get
            {
                return this.income;
            }
            set
            {
                this.income = value;
            }
        }

        public ZooLand(string title, string location, int square, int income)    :this(title, location, square)
        {
        this.title = title;
        this.location = location;
        this.square = square;
        this.income = income;
        }

        public ZooLand(string title, string location, int square)    :this(title, location)
        {
        this.title = title;
        this.location = location;
        this.square = square;
        }

        public ZooLand(string title, string location)    :this(title)
        {
        this.title = title;
        this.location = location;    
        }

        public ZooLand(string title)    :this()
        {
        this.title = title;    
        }

        public ZooLand()
        {
            this.title = "EmptyZoo";
            this.location = "City";
            this.square = 0;
            this.income = 0;
        }
    }
}
